interface FruitVisitor {
    void visit(Apple apple);
    void visit(Banana banana);
}